<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统登录</title>
    <style type="text/css">
        #panel {
            /* height: 100px; */
            /*高度*/
            width: 250px;
            /*宽度*/
            margin: 200px auto;
            /*面板距离浏览器顶部200px,居中*/
            padding: 20px;
            /*面板中内容距离面板边框20px*/
            background: #ccc;
            /*面板颜色为灰色*/
        }
    </style>
</head>

<body>
    <div id="panel">
        <h2 align="center" style="color:#66f">学生管理系统</h2>
        <form name="login" id="login" method="post" action="check.php">
            <table>
                <tr>
                    <td>用户名：</td>
                    <td><input type="text" name="user_name" /></td>
                </tr>
                <tr>
                    <td>密码：</td>
                    <td><input type="password" name="user_pass" /></td>
                </tr>
                <tr>
                    <td colspan="1">
                        <input type="submit" name="submit" value="登录" />
                        
                    </td>
                    <td colspan="1">
                        
                        <a href="./reg.php" target="_top"> <button type="button" >注册</button></a>
                        
                    </td>
                </tr>
            </table>
        </form>
    </div>

</body>

</html>